﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AdvertisingLeft.ascx.cs" Inherits="AdvertisingLeft" %>
<%@ Import Namespace="DTO" %>
<table width="194px">
    <tr><td>    
<asp:DataList ID="dlstPartner" EnableTheming="False" runat="server" 
      DataSourceID="objPartner" DataKeyField="ID" Width="100%" >
      <ItemTemplate> 
        <table>
            <tr>
                <td><asp:Image runat="server" ID="imgDot" ImageUrl="~/Images/dot.png" /></td>
                <td><asp:HyperLink runat="server" ID="hplLogo" Target="_blank" Width="190px" NavigateUrl='<% #Eval("Website") %>' >
                        <asp:Label runat="server" ID="txtTiele" Text='<% #Eval("Title") %>' />
                    </asp:HyperLink></td>
            </tr>
        </table>
      </ItemTemplate>  
</asp:DataList>
<asp:ObjectDataSource ID="objPartner" runat="server" SelectMethod="GetPartner5ByPartnerCatID"
    TypeName="BLL.Pages.Partners" >
    <SelectParameters>
        <asp:Parameter DefaultValue="1" Name="partnerCatID" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
</td></tr>
<tr><td style="padding-left:100px;">
    <asp:HyperLink ID="HyperLink1" ForeColor="#fdd100" NavigateUrl="~/BrowseLinks.aspx" runat="server">Xem tất cả</asp:HyperLink>
</td></tr>
</table>